package com.pilipala.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "pilipala.jwt")
@Data
@Component
public class JwtProperty {

//    生成jwt的相关配置
    private String secretKey;
    private long ttl;
    private String tokenName;
}
